package com.yumeko;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @program: SpringCloud
 * @description:
 * @author: Zheng Hao
 * @create: 2020-03-16 19:35
 */
@SpringBootApplication
@EnableEurekaClient
@EnableConfigServer // 运维人员只刷新:curl -X POST "http://localhost:1111/actuator/bus-refresh"
public class ConfigCenter1111 {
    public static void main(String[] args) {
        SpringApplication.run(ConfigCenter1111.class, args);
    }
}
